package com.example.demo.tree.t002;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName Tree
 * @Description: TODO
 * @Author Administrator
 * @Date 2021/10/14 23:53
 * @Version V1.0
 **/
public class Tree {
    private String id;
    private String name;
    private String parentId;
    private List<Tree> Children;

    public List<Tree> getChildren() {
        return Children;
    }

    public void setChildren(List<Tree> children) {
        Children = children;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
}
